package util;

/**
 * 维修工类
 */
public class Mechanic {
    public void serviceForCar(Serviceable serviceable){
        serviceable.turnupEngine();
        serviceable.changeOil();
    }
    public void serviceForCar(ChargeServiceable chargeServiceable){
        chargeServiceable.changeCharge();
    }
}
